#include <iostream>
using namespace std;

class Time
{
	private :
		int m_year;
		int m_mon;
		int m_day;

	public :
		Time(int year = 2016, int mon = 5, int day = 24) :
			m_year(year), m_mon(mon), m_day(day)
		{
			cout << "Default Time init()" << endl << endl;
		}

		int set_time(int year, int mon, int day)
		{
			m_year = year;
			m_mon = mon;
			m_day = day;
		}

		void get_time()
		{
			cout << m_year << " - " << m_mon << " - " << m_day << endl;
		}
	protected :
};

int main()
{
	Time t;


	t.get_time();

	t.set_time(2016, 5, 25);

	cout << "After set time : " ;
	t.get_time();
	cout << "The memory of Class Time = " << sizeof(t) << endl;
}
